package com.inossem.warehousestorage_inossem.bean.query;

import com.inossem.warehousestorage_inossem.bean.common.Bean;

import java.util.List;

/**
 * Created by leij on 2017/6/20.
 */

public class QueryMaterielDetailBean extends Bean {

    /**
     * code : 200
     * msg : 公共响应信息
     * data : {"materielCode":"物料编码","materielDescription":"物料描述信息","batchList":[{"batchNumber":"批次号","inventoryNumber":"库存数量","unit":"套","contract":"合同号","supplier":"南京英诺森","demandDepartment":"需求部门","purchaseOrder":"采购订单号","projectNumber":"项目号","inStorageDate":"入库日期","specialInventoryFlag":"特殊库存标识","specialInventoryCode":"特殊库存代码","specialInventoryDescription":"特殊库存描述","positionList":[{"warehouseNumber":"仓库号","areaNumber":"存储区号","positionNumber":"仓位号","positionInventoryNumber":"仓位库存数量"}]}]}
     */

    private String code;
    private String msg;
    private DataBean data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public DataBean getData() {
        return data;
    }

    public static class DataBean {
        /**
         * materielCode : 物料编码
         * materielDescription : 物料描述信息
         * batchList : [{"batchNumber":"批次号","inventoryNumber":"库存数量","unit":"套","contract":"合同号","supplier":"南京英诺森","demandDepartment":"需求部门","purchaseOrder":"采购订单号","projectNumber":"项目号","inStorageDate":"入库日期","specialInventoryFlag":"特殊库存标识","specialInventoryCode":"特殊库存代码","specialInventoryDescription":"特殊库存描述","positionList":[{"warehouseNumber":"仓库号","areaNumber":"存储区号","positionNumber":"仓位号","positionInventoryNumber":"仓位库存数量"}]}]
         */

        private String materielCode;
        private String materielDescription;
        private List<BatchListBean> batchList;

        public String getMaterielCode() {
            return materielCode;
        }

        public void setMaterielCode(String materielCode) {
            this.materielCode = materielCode;
        }

        public String getMaterielDescription() {
            return materielDescription;
        }

        public void setMaterielDescription(String materielDescription) {
            this.materielDescription = materielDescription;
        }

        public List<BatchListBean> getBatchList() {
            return batchList;
        }

        public void setBatchList(List<BatchListBean> batchList) {
            this.batchList = batchList;
        }

        public static class BatchListBean {
            /**
             * batchNumber : 批次号
             * inventoryNumber : 库存数量
             * unit : 套
             * contract : 合同号
             * supplier : 南京英诺森
             * demandDepartment : 需求部门
             * purchaseOrder : 采购订单号
             * projectNumber : 项目号
             * inStorageDate : 入库日期
             * specialInventoryFlag : 特殊库存标识
             * specialInventoryCode : 特殊库存代码
             * specialInventoryDescription : 特殊库存描述
             * positionList : [{"warehouseNumber":"仓库号","areaNumber":"存储区号","positionNumber":"仓位号","positionInventoryNumber":"仓位库存数量"}]
             */

            private String batchNumber;
            private String inventoryNumber;
            private String unit;
            private String contract;
            private String supplier;
            private String demandDepartment;
            private String purchaseOrder;
            private String projectNumber;
            private String inStorageDate;
            private String specialInventoryFlag;
            private String specialInventoryCode;
            private String specialInventoryDescription;
            private List<PositionListBean> positionList;

            public String getBatchNumber() {
                return batchNumber;
            }

            public void setBatchNumber(String batchNumber) {
                this.batchNumber = batchNumber;
            }

            public String getInventoryNumber() {
                return inventoryNumber;
            }

            public void setInventoryNumber(String inventoryNumber) {
                this.inventoryNumber = inventoryNumber;
            }

            public String getUnit() {
                return unit;
            }

            public void setUnit(String unit) {
                this.unit = unit;
            }

            public String getContract() {
                return contract;
            }

            public void setContract(String contract) {
                this.contract = contract;
            }

            public String getSupplier() {
                return supplier;
            }

            public void setSupplier(String supplier) {
                this.supplier = supplier;
            }

            public String getDemandDepartment() {
                return demandDepartment;
            }

            public void setDemandDepartment(String demandDepartment) {
                this.demandDepartment = demandDepartment;
            }

            public String getPurchaseOrder() {
                return purchaseOrder;
            }

            public void setPurchaseOrder(String purchaseOrder) {
                this.purchaseOrder = purchaseOrder;
            }

            public String getProjectNumber() {
                return projectNumber;
            }

            public void setProjectNumber(String projectNumber) {
                this.projectNumber = projectNumber;
            }

            public String getInStorageDate() {
                return inStorageDate;
            }

            public void setInStorageDate(String inStorageDate) {
                this.inStorageDate = inStorageDate;
            }

            public String getSpecialInventoryFlag() {
                return specialInventoryFlag;
            }

            public void setSpecialInventoryFlag(String specialInventoryFlag) {
                this.specialInventoryFlag = specialInventoryFlag;
            }

            public String getSpecialInventoryCode() {
                return specialInventoryCode;
            }

            public void setSpecialInventoryCode(String specialInventoryCode) {
                this.specialInventoryCode = specialInventoryCode;
            }

            public String getSpecialInventoryDescription() {
                return specialInventoryDescription;
            }

            public void setSpecialInventoryDescription(String specialInventoryDescription) {
                this.specialInventoryDescription = specialInventoryDescription;
            }

            public List<PositionListBean> getPositionList() {
                return positionList;
            }

            public void setPositionList(List<PositionListBean> positionList) {
                this.positionList = positionList;
            }

            public static class PositionListBean {
                /**
                 * warehouseNumber : 仓库号
                 * areaNumber : 存储区号
                 * positionNumber : 仓位号
                 * positionInventoryNumber : 仓位库存数量
                 */

                private String warehouseNumber;
                private String areaNumber;
                private String positionNumber;
                private String positionInventoryNumber;

                public String getWarehouseNumber() {
                    return warehouseNumber;
                }

                public void setWarehouseNumber(String warehouseNumber) {
                    this.warehouseNumber = warehouseNumber;
                }

                public String getAreaNumber() {
                    return areaNumber;
                }

                public void setAreaNumber(String areaNumber) {
                    this.areaNumber = areaNumber;
                }

                public String getPositionNumber() {
                    return positionNumber;
                }

                public void setPositionNumber(String positionNumber) {
                    this.positionNumber = positionNumber;
                }

                public String getPositionInventoryNumber() {
                    return positionInventoryNumber;
                }

                public void setPositionInventoryNumber(String positionInventoryNumber) {
                    this.positionInventoryNumber = positionInventoryNumber;
                }
            }
        }
    }
}
